package com.example.design.factory.version6.exercise;

public class FactoryTest {
    public static void main(String[] args) {
        RRoot root=new AIIRoot();
        RRoot root1=new AIIRootER();

        System.out.println("===========================");
        RRoot root2= (RRoot) Factory.getInstance(BeanpropettiesUtils.getClassName(Constr.ROOT));
    }
}
